/*
 * Bloqueo.h
 *
 *  Created on: 20/06/2014
 *      Author: tzalan
 */

#ifndef BLOQUEO_H_
#define BLOQUEO_H_

#include "../IncludesServidor.h"
#include "Elemento.h"

class Bloqueo: public Elemento {
private:
	unsigned short int vidrioOrigen;
	unsigned short int vidrioDestino;
	unsigned char estado;

public:
	//Constructor
	Bloqueo(unsigned short int id,unsigned short int idImagen,int posX, int posY, int alto, int ancho,unsigned char tipo, bool vivo, unsigned char estado, unsigned short int vidrioOrigen,unsigned short int vidrioDestino);
	//Destructor
	~Bloqueo();
	//Setters
	void setEstado(unsigned char estado);
	//Getter
	unsigned short int getVidrioOrigen();
	unsigned short int getVidrioDestino();
	unsigned char getEstado();
};

#endif /* BLOQUEO_H_ */
